package com.qianfeng.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Student {

  private Integer studentId;
  private String studentName;
  private Integer classId;
  private String stuGender;
  private String stuPhone;
  private String stuQq;
  private String stuEmail;
  private String cardNum;
  private String graduateSchool;
  private Integer educationId;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date inTime;
  private Integer empId;
  private Class clazz;
  private Education education;
  private Employee employee;

  @Override
  public String toString() {
    return "Student{" +
            "studentId=" + studentId +
            ", studentName='" + studentName + '\'' +
            ", classId=" + classId +
            ", stuGender='" + stuGender + '\'' +
            ", stuPhone='" + stuPhone + '\'' +
            ", stuQq='" + stuQq + '\'' +
            ", stuEmail='" + stuEmail + '\'' +
            ", cardNum='" + cardNum + '\'' +
            ", graduateSchool='" + graduateSchool + '\'' +
            ", educationId=" + educationId +
            ", createTime=" + createTime +
            ", inTime=" + inTime +
            ", empId=" + empId +
            ", clazz=" + clazz +
            ", education=" + education +
            ", employee=" + employee +
            '}';
  }

  public Integer getStudentId() {
    return studentId;
  }

  public void setStudentId(Integer studentId) {
    this.studentId = studentId;
  }

  public String getStudentName() {
    return studentName;
  }

  public void setStudentName(String studentName) {
    this.studentName = studentName;
  }

  public Integer getClassId() {
    return classId;
  }

  public void setClassId(Integer classId) {
    this.classId = classId;
  }

  public String getStuGender() {
    return stuGender;
  }

  public void setStuGender(String stuGender) {
    this.stuGender = stuGender;
  }

  public String getStuPhone() {
    return stuPhone;
  }

  public void setStuPhone(String stuPhone) {
    this.stuPhone = stuPhone;
  }

  public String getStuQq() {
    return stuQq;
  }

  public void setStuQq(String stuQq) {
    this.stuQq = stuQq;
  }

  public String getStuEmail() {
    return stuEmail;
  }

  public void setStuEmail(String stuEmail) {
    this.stuEmail = stuEmail;
  }

  public String getGraduateSchool() {
    return graduateSchool;
  }

  public void setGraduateSchool(String graduateSchool) {
    this.graduateSchool = graduateSchool;
  }

  public Integer getEducationId() {
    return educationId;
  }

  public void setEducationId(Integer educationId) {
    this.educationId = educationId;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getInTime() {
    return inTime;
  }

  public void setInTime(Date inTime) {
    this.inTime = inTime;
  }

  public Integer getEmpId() {
    return empId;
  }

  public void setEmpId(Integer empId) {
    this.empId = empId;
  }

  public String getCardNum() {
    return cardNum;
  }

  public void setCardNum(String cardNum) {
    this.cardNum = cardNum;
  }

  public Class getClazz() {
    return clazz;
  }

  public void setClazz(Class clazz) {
    this.clazz = clazz;
  }

  public Education getEducation() {
    return education;
  }

  public void setEducation(Education education) {
    this.education = education;
  }

  public Employee getEmployee() {
    return employee;
  }

  public void setEmployee(Employee employee) {
    this.employee = employee;
  }

  public Student() {
  }

  public Student(Integer studentId, String studentName, Integer classId, String stuGender, String stuPhone, String stuQq, String stuEmail, String graduateSchool, Integer educationId, Date createTime, Date inTime, Integer empId, String cardNum, Class clazz, Education education, Employee employee) {
    this.studentId = studentId;
    this.studentName = studentName;
    this.classId = classId;
    this.stuGender = stuGender;
    this.stuPhone = stuPhone;
    this.stuQq = stuQq;
    this.stuEmail = stuEmail;
    this.graduateSchool = graduateSchool;
    this.educationId = educationId;
    this.createTime = createTime;
    this.inTime = inTime;
    this.empId = empId;
    this.cardNum = cardNum;
    this.clazz = clazz;
    this.education = education;
    this.employee = employee;
  }

  public Student(Integer studentId) {
    this.studentId = studentId;
  }
}
